{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="{% static 'book/js/index.js' %}"></script>
</head>
<body>
    <p>这个是book应用的首页</p>
    姓名: <p>{{ username }}</p>
    <div>
        <img src="{% static 'book/images/1.jpeg' %}">
    </div>
</body>

</html>